home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MacWorld 1999 January - Disc 2
/
Macworld (1999-01) (Disk 2).dmg
/
Serious Demos
/
Symbolic Composer 4.2
/
Environment
/
System
/
MRAC
/
Toolbox
/
Misc
/
get-ratio-cl
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
NeXTSTEP
RISC OS/Acorn
UTF-8
Wrap
Text File
|
1998-08-11
|
257 b
|
13 lines
|
[
TEXT/ScoM
]
get-ratio-cl list
Use this function when working with note-lengths or zone-lengths to get Common Lisp ratios from Symbolic Composer ratios.
(get-ratio-cl '1/1)
=> 1
(get-ratio-cl '(1/1 1/1))
=> (1 1)
(get-ratio-cl '((1/1) (1/2 1/2)))
=> ((1) (1/2 1/2))